<script>
    function goBack(){
    window.history.back()
    }
</script>
<div class="container-fluid">
  <div>
    <h3 style="color:#8C525B;border-bottom:1px solid #F1F1F1;padding-bottom:10px;padding-left:10px;">公告信息</h3>
  </div>
  <div class="panel panel-default">
    <div class=" panel-heading">
      <p class="panel-title" style="height:35px;line-height:35px">添加公告信息</p>
    </div >
    <form action="notice.php?action=add_check" method="post" class="form-horizontal" style="margin-top:20px;">
      <div class="form-group">
        <label for="inputEmail3" class="col-sm-2 control-label">公告标题</label>
        <div class="col-sm-9">
          <input name="title" type="text" class="form-control" id="inputEmail3" placeholder="请输入标题">
        </div>
      </div>
      <div class="form-group">
        <label for="inputEmail3" class="col-sm-2 control-label">公告内容</label>
        <div class="col-sm-9">
        <textarea class="form-control" name="content" id="" cols="50" rows="2"></textarea>
        </div>
      </div>
      <div class="form-group">
        <label for="inputEmail3" class="col-sm-2 control-label">发布人</label>
        <div class="col-lg-4">
          <select class="form-control c_add_select" name="n_admin" required="required">
            <?php if(isset($adminArr)):?>
              <?php foreach($adminArr as $v):?>
            <option>
            <?php echo $v['admin_id'].$v['admin_name']?>
            </option>
              <?php endforeach;?>
              <?php endif;?>
          </select>
        </div>
      </div>
      <div class="form-group">
        <div class="col-sm-offset-2 col-sm-10">
          <button class="btn btn-primary" id="submit_btn" type="submit">提交</button>
          <button class="btn btn-info" type="reset">重置</button>
          <a class="btn btn-default" onclick="goBack()">返回</a>
        </div>
      </div>
    </form>
  </div>
</div>
